﻿/********************************************************************************************
 * 文件名称:	ListInfo.cs
 * 设计人员:	严(yanxianghui@gmail.com)
 * 设计时间:	2009-03-16
 * 功能描述:	豆列功能
 * 注意事项:	
 * 版权所有:	Copyright (c) 2009, Fujian SIRC
 * 修改记录: 	修改时间		人员		修改备注
 *				    ----------		------		-------------------------------------------------
 *
 ********************************************************************************************/
using System;
using Shanfree.Framework.Utility;
using System.Collections.Generic;

namespace Shanfree.SharpMovie.Model
{
    /// <summary>
    /// 豆列功能
    /// </summary>
    [Persistence(IsPrimaryKey = false, ColumnName = "List", ExtendName = "V_List")]
    public class ListInfo
    {
        string _id = string.Empty;
        /// <summary>
        /// 主键
        /// </summary>
        [Persistence(IsPrimaryKey = true, ColumnName = "ID")]
        public String ID
        {
            get
            {
                return _id;
            }
            set
            {
                _id = value;
            }
        }

        string _remark = string.Empty;
        /// <summary>
        /// 内容
        /// </summary>
        [Persistence(IsPrimaryKey = false, ColumnName = "Remark")]
        public string Remark
        {
            get
            {
                return _remark;
            }
            set
            {
                _remark = value;
            }
        }

        string _userID = string.Empty;
        /// <summary>
        /// 用户主键
        /// </summary>
        [Persistence(IsPrimaryKey = false, ColumnName = "UserID")]
        public string UserID
        {
            get
            {
                return _userID;
            }
            set
            {
                _userID = value;
            }
        }

        string _userName = string.Empty;
        /// <summary>
        /// 用户名称
        /// </summary>
        [Persistence(IsPrimaryKey = false, ColumnName = "UserName", IsExtend = true)]
        public string UserName
        {
            get
            {
                return _userName;
            }
            set
            {
                _userName = value;
            }
        }

        string _name = string.Empty;
        /// <summary>
        /// 豆列名称
        /// </summary>
        [Persistence(IsPrimaryKey = false, ColumnName = "Name")]
        public string Name
        {
            get
            {
                return _name;
            }
            set
            {
                _name = value;
            }
        }

        DateTime _createTime = DateTime.Now;
        /// <summary>
        /// 影片主键
        /// </summary>
        [Persistence(IsPrimaryKey = false, ColumnName = "CreateTime")]
        public DateTime CreateTime
        {
            get
            {
                return _createTime;
            }
            set
            {
                _createTime = value;
            }
        }

        int _total = 0;
        /// <summary>
        /// 影片总数
        /// </summary>
        [Persistence(IsPrimaryKey = false, ColumnName = "Total")]
        public int Total
        {
            get
            {
                return _total;
            }
            set
            {
                _total = value;
            }
        }

        int _amount = 0;
        /// <summary>
        /// 当前影片数量
        /// </summary>
        [Persistence(IsPrimaryKey = false, ColumnName = "Amount")]
        public int Amount
        {
            get
            {
                return _amount;
            }
            set
            {
                _amount = value;
            }
        }

        string _catalogID = "32";
        /// <summary>
        /// 所属栏目
        /// </summary>
        [Persistence(IsPrimaryKey = false, ColumnName = "CatalogID")]
        public string CatalogID
        {
            get
            {
                return _catalogID;
            }
            set
            {
                _catalogID = value;
            }
        }

        string _catalogName = "";
        /// <summary>
        /// 所属栏目名称
        /// </summary>
        [Persistence(IsPrimaryKey = false, ColumnName = "CatalogName", IsExtend = true)]
        public string CatalogName
        {
            get
            {
                return _catalogName;
            }
            set
            {
                _catalogName = value;
            }
        }

    }
}
